package entities;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the PRIJSPRODUCT database table.
 * 
 */
@Entity
public class Prijsproduct implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private double prijspereenheid;

	private double prijsperkubiekemeter;

	private double prijspervierkantemeter;

	//bi-directional many-to-one association to Leverancier
    @ManyToOne
	@JoinColumn(name="LEVERANCIERID")
	private Leverancier leverancier;

	//bi-directional many-to-one association to Product
    @ManyToOne
	@JoinColumn(name="PRODUCTID")
	private Product product;

    public Prijsproduct() {
    }

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getPrijspereenheid() {
		return this.prijspereenheid;
	}

	public void setPrijspereenheid(double prijspereenheid) {
		this.prijspereenheid = prijspereenheid;
	}

	public double getPrijsperkubiekemeter() {
		return this.prijsperkubiekemeter;
	}

	public void setPrijsperkubiekemeter(double prijsperkubiekemeter) {
		this.prijsperkubiekemeter = prijsperkubiekemeter;
	}

	public double getPrijspervierkantemeter() {
		return this.prijspervierkantemeter;
	}

	public void setPrijspervierkantemeter(double prijspervierkantemeter) {
		this.prijspervierkantemeter = prijspervierkantemeter;
	}

	public Leverancier getLeverancier() {
		return this.leverancier;
	}

	public void setLeverancier(Leverancier leverancier) {
		this.leverancier = leverancier;
	}
	
	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}
	
}